igo8: Don't use "long" variables when working with fixed structures.
authoroliskoli <oliskoli@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 25 Jun 2008 20:39:21 +0000 (20:39 +0000)
committeroliskoli <oliskoli@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 25 Jun 2008 20:39:21 +0000 (20:39 +0000)
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@3284 f51c46e8-681c-474f-0cfe-069cfd0219fb

gpsbabel/igo8.c

index c016a88dca825aabee1a632004d9d230dd6a9ccb..6dbdd2eeeb7b72a276c54c3bd411b7a8afe81e94 100644 (file)
@@ -174,7 +174,7 @@ static void igo8_write_init(const char *fname)
 // Writer close callback
 static void igo8_write_deinit(void)
 {
-       unsigned long normalized_file_size;
+       gbuint32 normalized_file_size;
 
        // Seek to the start of the third long in the Information Block, this is
        // where we will write out the total size of the file.